package com.ssh.dao;

import java.util.List;

import com.ssh.model.Goods;

public interface IGoodsDAO {

	public abstract void save(Goods transientInstance);

	public abstract void delete(Goods persistentInstance);

	public abstract Goods findById(java.lang.Integer id);
	
	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByName(Object name);

	public abstract List findAll();

	public abstract Goods merge(Goods detachedInstance);

	public abstract void attachDirty(Goods instance);

	public abstract void attachClean(Goods instance);

}